'use strict';

const path = require('path');

let config = {
  vhost: { "127.0.0.1": require('../middlewares/virtual-host/sample/app2') },
  logger: { logPath: path.join(__dirname, '../log') },
  static: path.join(__dirname, '../sample/static/'),
  redis: {
    port: 6379,
    host: '192.168.3.108',
    keyPrefix: 'koa_'
  },
  session: {
    key: "SESSIONID",
    maxAge: 1800000,
    redis: true
  }
};

exports = module.exports = config;